package com.tencent.system.mapper;

import com.tencent.system.domain.Role;
import com.tencent.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Oswald
 * @since 2022-08-30
 */
public interface RoleMapper extends BaseMapper<Role> {

    void addRolePermission(Role role);

    void addRoleMenu(Role role);

    void delPermissionByRoleId(Long id);

    void delMenuByRoleId(Long id);

    void delEmpByRoleId(Long id);
}
